Termination w.r.t. Q of the following Term Rewriting System could not be shown:

Q restricted rewrite system:
The TRS R consists of the following rules:

minus2(x, x) -> 0
minus2(x, y) -> cond3(equal2(min2(x, y), y), x, y)
cond3(true, x, y) -> s1(minus2(x, s1(y)))
min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
minus2(x0, x1)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
cond3(true, x0, x1)
equal2(0, s1(x0))



QTRS
  ↳ DependencyPairsProof

Q restricted rewrite system:
The TRS R consists of the following rules:

minus2(x, x) -> 0
minus2(x, y) -> cond3(equal2(min2(x, y), y), x, y)
cond3(true, x, y) -> s1(minus2(x, s1(y)))
min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
minus2(x0, x1)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
cond3(true, x0, x1)
equal2(0, s1(x0))


Using Dependency Pairs [1,13] we result in the following initial DP problem:
Q DP problem:
The TRS P consists of the following rules:

EQUAL2(s1(x), s1(y)) -> EQUAL2(x, y)
MIN2(s1(u), s1(v)) -> MIN2(u, v)
COND3(true, x, y) -> MINUS2(x, s1(y))
MINUS2(x, y) -> COND3(equal2(min2(x, y), y), x, y)
MINUS2(x, y) -> EQUAL2(min2(x, y), y)
MINUS2(x, y) -> MIN2(x, y)

The TRS R consists of the following rules:

minus2(x, x) -> 0
minus2(x, y) -> cond3(equal2(min2(x, y), y), x, y)
cond3(true, x, y) -> s1(minus2(x, s1(y)))
min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
minus2(x0, x1)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
cond3(true, x0, x1)
equal2(0, s1(x0))

We have to consider all minimal (P,Q,R)-chains.

↳ QTRS
  ↳ DependencyPairsProof
QDP
      ↳ DependencyGraphProof

Q DP problem:
The TRS P consists of the following rules:

EQUAL2(s1(x), s1(y)) -> EQUAL2(x, y)
MIN2(s1(u), s1(v)) -> MIN2(u, v)
COND3(true, x, y) -> MINUS2(x, s1(y))
MINUS2(x, y) -> COND3(equal2(min2(x, y), y), x, y)
MINUS2(x, y) -> EQUAL2(min2(x, y), y)
MINUS2(x, y) -> MIN2(x, y)

The TRS R consists of the following rules:

minus2(x, x) -> 0
minus2(x, y) -> cond3(equal2(min2(x, y), y), x, y)
cond3(true, x, y) -> s1(minus2(x, s1(y)))
min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
minus2(x0, x1)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
cond3(true, x0, x1)
equal2(0, s1(x0))

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [13,14,18] contains 3 SCCs with 2 less nodes.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
QDP
            ↳ UsableRulesProof
          ↳ QDP
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

EQUAL2(s1(x), s1(y)) -> EQUAL2(x, y)

The TRS R consists of the following rules:

minus2(x, x) -> 0
minus2(x, y) -> cond3(equal2(min2(x, y), y), x, y)
cond3(true, x, y) -> s1(minus2(x, s1(y)))
min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
minus2(x0, x1)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
cond3(true, x0, x1)
equal2(0, s1(x0))

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [13] we can delete all non-usable rules [14] from R.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
            ↳ UsableRulesProof
QDP
                ↳ QReductionProof
          ↳ QDP
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

EQUAL2(s1(x), s1(y)) -> EQUAL2(x, y)

R is empty.
The set Q consists of the following terms:

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
minus2(x0, x1)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
cond3(true, x0, x1)
equal2(0, s1(x0))

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
minus2(x0, x1)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
cond3(true, x0, x1)
equal2(0, s1(x0))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
QDP
                    ↳ QDPSizeChangeProof
          ↳ QDP
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

EQUAL2(s1(x), s1(y)) -> EQUAL2(x, y)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [16] together with the size-change analysis [27] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
QDP
            ↳ UsableRulesProof
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

MIN2(s1(u), s1(v)) -> MIN2(u, v)

The TRS R consists of the following rules:

minus2(x, x) -> 0
minus2(x, y) -> cond3(equal2(min2(x, y), y), x, y)
cond3(true, x, y) -> s1(minus2(x, s1(y)))
min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
minus2(x0, x1)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
cond3(true, x0, x1)
equal2(0, s1(x0))

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [13] we can delete all non-usable rules [14] from R.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
QDP
                ↳ QReductionProof
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

MIN2(s1(u), s1(v)) -> MIN2(u, v)

R is empty.
The set Q consists of the following terms:

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
minus2(x0, x1)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
cond3(true, x0, x1)
equal2(0, s1(x0))

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
minus2(x0, x1)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
cond3(true, x0, x1)
equal2(0, s1(x0))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
QDP
                    ↳ QDPSizeChangeProof
          ↳ QDP

Q DP problem:
The TRS P consists of the following rules:

MIN2(s1(u), s1(v)) -> MIN2(u, v)

R is empty.
Q is empty.
We have to consider all minimal (P,Q,R)-chains.
By using the subterm criterion [16] together with the size-change analysis [27] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
QDP
            ↳ UsableRulesProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND3(true, x, y) -> MINUS2(x, s1(y))
MINUS2(x, y) -> COND3(equal2(min2(x, y), y), x, y)

The TRS R consists of the following rules:

minus2(x, x) -> 0
minus2(x, y) -> cond3(equal2(min2(x, y), y), x, y)
cond3(true, x, y) -> s1(minus2(x, s1(y)))
min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
minus2(x0, x1)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
cond3(true, x0, x1)
equal2(0, s1(x0))

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [13] we can delete all non-usable rules [14] from R.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
QDP
                ↳ QReductionProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND3(true, x, y) -> MINUS2(x, s1(y))
MINUS2(x, y) -> COND3(equal2(min2(x, y), y), x, y)

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
minus2(x0, x1)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
cond3(true, x0, x1)
equal2(0, s1(x0))

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

minus2(x0, x1)
cond3(true, x0, x1)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
QDP
                    ↳ Narrowing
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND3(true, x, y) -> MINUS2(x, s1(y))
MINUS2(x, y) -> COND3(equal2(min2(x, y), y), x, y)

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
equal2(0, s1(x0))

We have to consider all minimal (P,Q,R)-chains.
By narrowing [13] the rule MINUS2(x, y) -> COND3(equal2(min2(x, y), y), x, y) at position [0] we obtained the following new rules:

MINUS2(0, x0) -> COND3(equal2(0, x0), 0, x0)
MINUS2(x0, 0) -> COND3(equal2(0, 0), x0, 0)
MINUS2(s1(x0), s1(x1)) -> COND3(equal2(s1(min2(x0, x1)), s1(x1)), s1(x0), s1(x1))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
QDP
                        ↳ DependencyGraphProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

MINUS2(x0, 0) -> COND3(equal2(0, 0), x0, 0)
COND3(true, x, y) -> MINUS2(x, s1(y))
MINUS2(0, x0) -> COND3(equal2(0, x0), 0, x0)
MINUS2(s1(x0), s1(x1)) -> COND3(equal2(s1(min2(x0, x1)), s1(x1)), s1(x0), s1(x1))

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
equal2(0, s1(x0))

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [13,14,18] contains 1 SCC with 1 less node.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ DependencyGraphProof
QDP
                            ↳ Narrowing
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND3(true, x, y) -> MINUS2(x, s1(y))
MINUS2(0, x0) -> COND3(equal2(0, x0), 0, x0)
MINUS2(s1(x0), s1(x1)) -> COND3(equal2(s1(min2(x0, x1)), s1(x1)), s1(x0), s1(x1))

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
equal2(0, s1(x0))

We have to consider all minimal (P,Q,R)-chains.
By narrowing [13] the rule MINUS2(0, x0) -> COND3(equal2(0, x0), 0, x0) at position [0] we obtained the following new rules:

MINUS2(0, s1(x0)) -> COND3(false, 0, s1(x0))
MINUS2(0, 0) -> COND3(true, 0, 0)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ QDP
                            ↳ Narrowing
QDP
                                ↳ DependencyGraphProof
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND3(true, x, y) -> MINUS2(x, s1(y))
MINUS2(0, s1(x0)) -> COND3(false, 0, s1(x0))
MINUS2(0, 0) -> COND3(true, 0, 0)
MINUS2(s1(x0), s1(x1)) -> COND3(equal2(s1(min2(x0, x1)), s1(x1)), s1(x0), s1(x1))

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
equal2(0, s1(x0))

We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [13,14,18] contains 1 SCC with 2 less nodes.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ QDP
                            ↳ Narrowing
                              ↳ QDP
                                ↳ DependencyGraphProof
QDP
                                    ↳ Instantiation
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND3(true, x, y) -> MINUS2(x, s1(y))
MINUS2(s1(x0), s1(x1)) -> COND3(equal2(s1(min2(x0, x1)), s1(x1)), s1(x0), s1(x1))

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
equal2(0, s1(x0))

We have to consider all minimal (P,Q,R)-chains.
By instantiating [13] the rule COND3(true, x, y) -> MINUS2(x, s1(y)) we obtained the following new rules:

COND3(true, s1(z0), s1(z1)) -> MINUS2(s1(z0), s1(s1(z1)))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ QDP
                            ↳ Narrowing
                              ↳ QDP
                                ↳ DependencyGraphProof
                                  ↳ QDP
                                    ↳ Instantiation
QDP
                                        ↳ Instantiation
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND3(true, s1(z0), s1(z1)) -> MINUS2(s1(z0), s1(s1(z1)))
MINUS2(s1(x0), s1(x1)) -> COND3(equal2(s1(min2(x0, x1)), s1(x1)), s1(x0), s1(x1))

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
equal2(0, s1(x0))

We have to consider all minimal (P,Q,R)-chains.
By instantiating [13] the rule MINUS2(s1(x0), s1(x1)) -> COND3(equal2(s1(min2(x0, x1)), s1(x1)), s1(x0), s1(x1)) we obtained the following new rules:

MINUS2(s1(z0), s1(s1(z1))) -> COND3(equal2(s1(min2(z0, s1(z1))), s1(s1(z1))), s1(z0), s1(s1(z1)))



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
                  ↳ QDP
                    ↳ Narrowing
                      ↳ QDP
                        ↳ DependencyGraphProof
                          ↳ QDP
                            ↳ Narrowing
                              ↳ QDP
                                ↳ DependencyGraphProof
                                  ↳ QDP
                                    ↳ Instantiation
                                      ↳ QDP
                                        ↳ Instantiation
QDP
            ↳ UsableRulesProof

Q DP problem:
The TRS P consists of the following rules:

COND3(true, s1(z0), s1(z1)) -> MINUS2(s1(z0), s1(s1(z1)))
MINUS2(s1(z0), s1(s1(z1))) -> COND3(equal2(s1(min2(z0, s1(z1))), s1(s1(z1))), s1(z0), s1(s1(z1)))

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
equal2(0, s1(x0))

We have to consider all minimal (P,Q,R)-chains.
As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [13] we can delete all non-usable rules [14] from R.

↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
            ↳ UsableRulesProof
QDP
                ↳ QReductionProof

Q DP problem:
The TRS P consists of the following rules:

COND3(true, x, y) -> MINUS2(x, s1(y))
MINUS2(x, y) -> COND3(equal2(min2(x, y), y), x, y)

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
minus2(x0, x1)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
cond3(true, x0, x1)
equal2(0, s1(x0))

We have to consider all minimal (P,Q,R)-chains.
We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.

minus2(x0, x1)
cond3(true, x0, x1)



↳ QTRS
  ↳ DependencyPairsProof
    ↳ QDP
      ↳ DependencyGraphProof
        ↳ AND
          ↳ QDP
          ↳ QDP
          ↳ QDP
            ↳ UsableRulesProof
            ↳ UsableRulesProof
              ↳ QDP
                ↳ QReductionProof
QDP

Q DP problem:
The TRS P consists of the following rules:

COND3(true, x, y) -> MINUS2(x, s1(y))
MINUS2(x, y) -> COND3(equal2(min2(x, y), y), x, y)

The TRS R consists of the following rules:

min2(0, v) -> 0
min2(u, 0) -> 0
min2(s1(u), s1(v)) -> s1(min2(u, v))
equal2(0, 0) -> true
equal2(s1(x), 0) -> false
equal2(0, s1(y)) -> false
equal2(s1(x), s1(y)) -> equal2(x, y)

The set Q consists of the following terms:

min2(s1(x0), s1(x1))
equal2(s1(x0), 0)
equal2(0, 0)
min2(x0, 0)
equal2(s1(x0), s1(x1))
min2(0, x0)
equal2(0, s1(x0))

We have to consider all minimal (P,Q,R)-chains.